<?php


namespace app\admin\validate;


use think\Validate;

class LoginValidate extends Validate
{

    protected $rule = [
        'user_name'  =>  'require',
        'password' =>  'require',
    ];

    protected $message = [
        'user_name.require' => '用户名必须填写',
        'password.require' => '密码必须填写',
    ];

}